<?php
error_reporting(0);
include '../db-connection/conn.php';

$ajaxfilemanager =  $_REQUEST["ajaxfilemanager"];

$sql = "DELETE FROM tbl_special";
$run = mysql_query($sql);

$sql1 = "INSERT INTO tbl_special (id,content,is_active,modified_on)
VALUES ('".addslashes($id)."','".addslashes($ajaxfilemanager)."','Y',now())";
$run1 = mysql_query($sql1);

if($run1)
{
	header("Location:edit_special.php?msg=success");
}
else
{
	header("Location:edit_special.php?msg=failure");
}
?>